load('classpath:ext/nsq.js');


var nsq = new Nsq();
var pub = nsq.pub("127.0.0.1:4150");

pub.send("test", "aa");

console.info("send, success ");

pub.close();